package com.chen.pojo;

import java.util.Date;

//用户表
public class User {

    private Integer user_id;    //主键，自生成
    private String user_userName;  //用户名
    private String user_passWord;  //密码
    private String user_nickName;  //昵称
    private String user_email;     //邮箱
    private String user_image;     //用户头像
    private Date create_time;      //注册时间
    private Date birthday;         //生日
    private Integer user_age;      //年龄
    private String mobile_phone;   //电话

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getUser_userName() {
        return user_userName;
    }

    public void setUser_userName(String user_userName) {
        this.user_userName = user_userName;
    }

    public String getUser_passWord() {
        return user_passWord;
    }

    public void setUser_passWord(String user_passWord) {
        this.user_passWord = user_passWord;
    }

    public String getUser_nickName() {
        return user_nickName;
    }

    public void setUser_nickName(String user_nickName) {
        this.user_nickName = user_nickName;
    }

    public String getUser_email() {
        return user_email;
    }

    public void setUser_email(String user_email) {
        this.user_email = user_email;
    }

    public String getUser_image() {
        return user_image;
    }

    public void setUser_image(String user_image) {
        this.user_image = user_image;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Integer getUser_age() {
        return user_age;
    }

    public void setUser_age(Integer user_age) {
        this.user_age = user_age;
    }

    public String getMobile_phone() {
        return mobile_phone;
    }

    public void setMobile_phone(String mobile_phone) {
        this.mobile_phone = mobile_phone;
    }

    public User() {
    }

    public User(Integer user_id, String user_userName, String user_passWord,
                String user_nickName, String user_email, String user_image, Date
            create_time, Date birthday, Integer user_age, String mobile_phone) {
        this.user_id = user_id;
        this.user_userName = user_userName;
        this.user_passWord = user_passWord;
        this.user_nickName = user_nickName;
        this.user_email = user_email;
        this.user_image = user_image;
        this.create_time = create_time;
        this.birthday = birthday;
        this.user_age = user_age;
        this.mobile_phone = mobile_phone;
    }

    @Override
    public String toString() {
        return "User{" +
                "user_id=" + user_id +
                ", user_userName='" + user_userName + '\'' +
                ", user_passWord='" + user_passWord + '\'' +
                ", user_nickName='" + user_nickName + '\'' +
                ", user_email='" + user_email + '\'' +
                ", user_image='" + user_image + '\'' +
                ", create_time=" + create_time +
                ", birthday=" + birthday +
                ", user_age=" + user_age +
                ", mobile_phone='" + mobile_phone + '\'' +
                '}';
    }
}
